package project;

public class WallMove extends Move {
	boolean isHorizontal;
	
	/**
	 * Returns whether the wall was placed horizontally or vertically
	 * @return Whether the wall was placed horizontally or vertically
	 */
	protected WallMove(String move, int player) {
		super(move, player);
    	if (move.charAt(2) == 'v') {
        	this.isHorizontal = false;
    	} else {
        	this.isHorizontal = true;
    	}
	}
}